package com.zeng.utils;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Random;
import java.util.UUID;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

public class ViCodeUtils {
    public static String getViCode() {
        Random random = new Random();
        int vd = 202121;
        while (true) {
            vd = random.nextInt(999999);
            if(vd>100000)
                break;
        }
        return String.valueOf(vd);
    }


    public static void main(String[] args) {
        for (int i = 0; i < 30; i++)
            System.out.println(getViCode());
    }
}